import 'package:fish_redux/fish_redux.dart';
import 'package:flutter_work/list/component/state.dart';

enum ListPageAction { action,initDatas }

class ListPageActionCreator {

  static Action onAction() {
    return const Action(ListPageAction.action);
  }

  static Action initDatas(List<ItemComponentState>datas){
    return Action(ListPageAction.initDatas,payload: datas);
  }

}
